<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

function post_url($url_title, $date)
{
	return site_url(date('Y', strtotime($date)) . '/' . date('m', strtotime($date)) . '/' . date('d', strtotime($date)) . '/' . $url_title);
}

function sy_url($sy, $level, $section)
{
	return site_url($sy . '/' . $level . '/' . $section);
}